package com.woniu.es.moudle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.time.LocalDateTime;

@Data
@ApiModel("es疾病实体类")
@Document(indexName="hisdisease")
public class Disease {
    @Id
    private Integer diseaseId;

    /**
     * 疾病名称
     */
    private String diseaseName;

    /**
     * 疾病定义
     */
    private String resultItemContent;

    /**
     * 主要特征
     */
    private String resultItemContentLabel;

    private String resultItemContentLabel1;

    private String resultItemContentLabel2;

    private String resultItemContentLabel3;

    private String resultItemContentLabel4;

    /**
     * 浏览次数
     */
    private Integer view;

    /**
     * 记录新增时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    private LocalDateTime rawUpdateTime;
}
